package com.zhixue.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhixue.content.model.dto.*;
import com.zhixue.content.model.po.Teachplan;
import com.zhixue.r.R;

import java.util.List;

/**
 * @Auther: 李 力
 * @Date: 2025/4/8
 * @Description: com.zhixue.content.service
 * @version: 1.0
 */
public interface TeachplanService extends IService<Teachplan> {
    List<TeachplanDto> getTeachplanInfo(Long courseId);

    void addOrUpdate(SaveTeachplanDto saveTeachplanDto);

    R deleteById(Long id);

    void moveDown(Long id);

    void moveUp(Long id);

    void associationMedia(BindTeachplanMediaDto bindTeachplanMediaDto);

    R deletePlanMedia(Long teachPlanId, Long mediaId);
}
